//
//  listTableViewCell.m
//  xmppones
//
//  Created by 李立达 on 2017/2/28.
//  Copyright © 2017年 李立达. All rights reserved.
//

#import "listTableViewCell.h"
@interface listTableViewCell ()

@end
#define listcellheight 60
@implementation listTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if(self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        [self creatUI];
        self.backgroundColor = COLOR_CONTROLLER_BACKGROUND;
    }
    return self;
}

-(void)creatUI
{
    self.photo = [[UIImageView alloc]init];
    self.photo.bounds =CGRectMake(0, 0, 40, 40);
    self.photo.center = CGPointMake(40, 30);
    self.photo.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:self.photo];
    
    self.Nametitle = [[UILabel alloc]init];
    self.Nametitle.font = [UIFont systemFontOfSize:17];
    [self.contentView addSubview:self.Nametitle];
    self.status = [[UILabel alloc]init];
    self.status.font = [UIFont systemFontOfSize:20];
    [self.contentView addSubview:self.status];
}

-(void)setDict:(XMPPUserMemoryStorageObject *)dict
{
  
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
